package com.cvit;
class Main
{
	static Main(String args[])
	{
		public static void chooseClass(SubClass2,sub2);
	        public static void chooseClass(SubClass2,sub3);
		int x=7;
		Airplane airplane=new Airplane();
		airplane.takeOff();
		SubClass1 sub1=new SubClass1();
		sub1.aMethod(x,x);
		airplane.fly();
		SubClass2 sub2=new SubClass1();
		SubClass3 sub3=new SubClass1();
		Main.chooseClass(sub2);
		SubClass2.aMethod(x,x);
		Main.chooseClass(sub3);
		SubClass3.aMethod(X,x);
		airplane.fly();
		
	}



}